package com.xbfinance.manager.dao;

import java.util.List;

import com.xbfinance.manager.pojo.po.P2pCode;
import com.xbfinance.manager.pojo.po.P2pCodeExample;
import org.apache.ibatis.annotations.Param;

public interface P2pCodeMapper {
    int countByExample(P2pCodeExample example);

    int deleteByExample(P2pCodeExample example);

    int deleteByPrimaryKey(Integer codeid);

    int insert(P2pCode record);

    int insertSelective(P2pCode record);

    List<P2pCode> selectByExample(P2pCodeExample example);

    P2pCode selectByPrimaryKey(Integer codeid);

    int updateByExampleSelective(@Param("record") P2pCode record, @Param("example") P2pCodeExample example);

    int updateByExample(@Param("record") P2pCode record, @Param("example") P2pCodeExample example);

    int updateByPrimaryKeySelective(P2pCode record);

    int updateByPrimaryKey(P2pCode record);
}